﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetFramework
{
    public interface INetComponet
    {
        event EventHandler EvtConnected;
        event ReceivedEvent EvtReceived;
        event EventHandler EvtSent;
        event EventHandler EvtDisconnect;
        event EventHandler EvtClose;
        event EventHandler EvtTerminate;

        event EventHandler EvtConnectedError;
        event ReceivedEvent EvtReceivedError;
        event EventHandler EvtSentError;
        event EventHandler EvtCloseError;
        event EventHandler EvtDisconnectError;
        event EventHandler EvtTerminateError;
        event ErrorEvent EvtError;
    }
}
